<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{syForm.bundleName}"/>
    <head>
        <title>#{text['syDetail.title']}</title>
        <meta name="heading" content="#{text['syDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="syForm">

<h:form id="syForm" onsubmit="return validateSyForm(this)">
<h:inputHidden value="#{syForm.sy.id}" id="id"/>
<h:inputHidden value="#{syForm.sy.version}" id="version"/>
<h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{syForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty syForm.sy.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{syForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Sy')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
<h:panelGrid columns="6">
    <h:outputLabel styleClass="desc" for="btsr" value="#{text['sy.btsr']}"/>
    <t:message for="btsr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="btsr" value="#{syForm.sy.btsr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="cwfy" value="#{text['sy.cwfy']}"/>
    <t:message for="cwfy" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="cwfy" value="#{syForm.sy.cwfy}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="glfy" value="#{text['sy.glfy']}"/>
    <t:message for="glfy" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="glfy" value="#{syForm.sy.glfy}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jlr" value="#{text['sy.jlr']}"/>
    <t:message for="jlr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jlr" value="#{syForm.sy.jlr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="kgfpdlr" value="#{text['sy.kgfpdlr']}"/>
    <t:message for="kgfpdlr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="kgfpdlr" value="#{syForm.sy.kgfpdlr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="kggdfpdlr" value="#{text['sy.kggdfpdlr']}"/>
    <t:message for="kggdfpdlr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="kggdfpdlr" value="#{syForm.sy.kggdfpdlr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="lrze" value="#{text['sy.lrze']}"/>
    <t:message for="lrze" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="lrze" value="#{syForm.sy.lrze}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="lxzc" value="#{text['sy.lxzc']}"/>
    <t:message for="lxzc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="lxzc" value="#{syForm.sy.lxzc}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ncwfplr" value="#{text['sy.ncwfplr']}"/>
    <t:message for="ncwfplr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ncwfplr" value="#{syForm.sy.ncwfplr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ny" value="#{text['sy.ny']}"/>
    <t:message for="ny" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ny" value="#{syForm.sy.ny}" required="true" maxlength="255">
        <v:commonsValidator type="required" arg="#{text['sy.ny']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="qtyylr" value="#{text['sy.qtyylr']}"/>
    <t:message for="qtyylr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="qtyylr" value="#{syForm.sy.qtyylr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="qtzr" value="#{text['sy.qtzr']}"/>
    <t:message for="qtzr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="qtzr" value="#{syForm.sy.qtzr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="sds" value="#{text['sy.sds']}"/>
    <t:message for="sds" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="sds" value="#{syForm.sy.sds}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="sfjgsj" value="#{text['sy.sfjgsj']}"/>
    <t:message for="sfjgsj" styleClass="fieldError"/>
    <h:selectBooleanCheckbox value="#{syForm.sy.sfjgsj}" id="sfjgsj" styleClass="checkbox"/>
    <h:outputLabel styleClass="desc" for="sjbm" value="#{text['sy.sjbm']}"/>
    <t:message for="sjbm" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="sjbm" value="#{syForm.sy.sjbm}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="sjsj" value="#{text['sy.sjsj']}"/>
    <t:message for="sjsj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="sjsj" value="#{syForm.sy.sjsj}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="sjyj" value="#{text['sy.sjyj']}"/>
    <t:message for="sjyj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="sjyj" value="#{syForm.sy.sjyj}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ssgdly" value="#{text['sy.ssgdly']}"/>
    <t:message for="ssgdly" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ssgdly" value="#{syForm.sy.ssgdly}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tqcbjj" value="#{text['sy.tqcbjj']}"/>
    <t:message for="tqcbjj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tqcbjj" value="#{syForm.sy.tqcbjj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tqfdgjj" value="#{text['sy.tqfdgjj']}"/>
    <t:message for="tqfdgjj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tqfdgjj" value="#{syForm.sy.tqfdgjj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tqfdgyj" value="#{text['sy.tqfdgyj']}"/>
    <t:message for="tqfdgyj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tqfdgyj" value="#{syForm.sy.tqfdgyj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tqqyfzjj" value="#{text['sy.tqqyfzjj']}"/>
    <t:message for="tqqyfzjj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tqqyfzjj" value="#{syForm.sy.tqqyfzjj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tqrygjj" value="#{text['sy.tqrygjj']}"/>
    <t:message for="tqrygjj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tqrygjj" value="#{syForm.sy.tqrygjj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tzsy" value="#{text['sy.tzsy']}"/>
    <t:message for="tzsy" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzsy" value="#{syForm.sy.tzsy}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="wfplr" value="#{text['sy.wfplr']}"/>
    <t:message for="wfplr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="wfplr" value="#{syForm.sy.wfplr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="wqrdtzss" value="#{text['sy.wqrdtzss']}"/>
    <t:message for="wqrdtzss" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="wqrdtzss" value="#{syForm.sy.wqrdtzss}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="xsfy" value="#{text['sy.xsfy']}"/>
    <t:message for="xsfy" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xsfy" value="#{syForm.sy.xsfy}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yfpptggl" value="#{text['sy.yfpptggl']}"/>
    <t:message for="yfpptggl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yfpptggl" value="#{syForm.sy.yfpptggl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yfptggl" value="#{text['sy.yfptggl']}"/>
    <t:message for="yfptggl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yfptggl" value="#{syForm.sy.yfptggl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yfpyxggl" value="#{text['sy.yfpyxggl']}"/>
    <t:message for="yfpyxggl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yfpyxggl" value="#{syForm.sy.yfpyxggl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yqndsytz" value="#{text['sy.yqndsytz']}"/>
    <t:message for="yqndsytz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yqndsytz" value="#{syForm.sy.yqndsytz}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yygjzrs" value="#{text['sy.yygjzrs']}"/>
    <t:message for="yygjzrs" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yygjzrs" value="#{syForm.sy.yygjzrs}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yylr" value="#{text['sy.yylr']}"/>
    <t:message for="yylr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yylr" value="#{syForm.sy.yylr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yywsr" value="#{text['sy.yywsr']}"/>
    <t:message for="yywsr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yywsr" value="#{syForm.sy.yywsr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yywzc" value="#{text['sy.yywzc']}"/>
    <t:message for="yywzc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yywzc" value="#{syForm.sy.yywzc}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zgjljj" value="#{text['sy.zgjljj']}"/>
    <t:message for="zgjljj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zgjljj" value="#{syForm.sy.zgjljj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zyywcb" value="#{text['sy.zyywcb']}"/>
    <t:message for="zyywcb" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zyywcb" value="#{syForm.sy.zyywcb}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zyywlr" value="#{text['sy.zyywlr']}"/>
    <t:message for="zyywlr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zyywlr" value="#{syForm.sy.zyywlr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zyywsjjfj" value="#{text['sy.zyywsjjfj']}"/>
    <t:message for="zyywsjjfj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zyywsjjfj" value="#{syForm.sy.zyywsjjfj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zyywsr" value="#{text['sy.zyywsr']}"/>
    <t:message for="zyywsr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zyywsr" value="#{syForm.sy.zyywsr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzgfdptggl" value="#{text['sy.zzgfdptggl']}"/>
    <t:message for="zzgfdptggl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzgfdptggl" value="#{syForm.sy.zzgfdptggl}" required="false" maxlength="255">
    </h:inputText>
<!-- 
    <h:outputLabel styleClass="desc" for="id" value="#{text['sy.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{syForm.sy.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['sy.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
     <h:outputLabel styleClass="desc" for="username" value="#{text['sy.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{syForm.sy.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['sy.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{syForm.sy.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['sy.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{syForm.sy.optdate}" required="false" maxlength="23">
    </h:inputText>
 -->
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateSyForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('syForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
